package com.zx.BookSeaReader.greendao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @Author: ZX
 * @Time: 2020/3/25
 * @Description: 功能描述
 */
@Entity
public class SubscribeBean implements Serializable {
    @Transient
    private static final long serialVersionUID = 1L;
    @Id(autoincrement = true)
    private Long sid;
    //和person关联的id
    private String bookid;
    //和student关联的id
    private Long userid;
    @Generated(hash = 550394423)
    public SubscribeBean(Long sid, String bookid, Long userid) {
        this.sid = sid;
        this.bookid = bookid;
        this.userid = userid;
    }
    @Generated(hash = 781367487)
    public SubscribeBean() {
    }
    public Long getSid() {
        return this.sid;
    }
    public void setSid(Long sid) {
        this.sid = sid;
    }

    
    public Long getUserid() {
        return this.userid;
    }
    public void setUserid(Long userid) {
        this.userid = userid;
    }
    public String getBookid() {
        return this.bookid;
    }
    public void setBookid(String bookid) {
        this.bookid = bookid;
    }
}
